import request from '@/utils/request'

// 租金收入
export function getRent(params) {
  return request({
    url: '/business/assetAnalysis/selectRentIncome',
    method: 'get',
    params
  })
}

// 租金收缴
export function getRentPay(params) {
  return request({
    url: '/business/assetAnalysis/selectRentTimeliness',
    method: 'get',
    params
  })
}

// 租金收入占比
export function getRentPercent(params) {
  return request({
    url: '/business/assetAnalysis/selectRentIncomeProportion',
    method: 'get',
    params
  })
}

// 拖欠时长
export function getRentDelay(params) {
  return request({
    url: '/business/assetAnalysis/selectRentDelayTime',
    method: 'get',
    params
  })
}

//  收入支出情况
export function getRentIncomeExpense(params) {
  return request({
    url: '/business/assetAnalysis/selectRentIncomeExpenditure',
    method: 'get',
    params
  })
}

// 押金情况
export function getRentDeposit(params) {
  return request({
    url: '/business/assetAnalysis/selectRentDeposit',
    method: 'get',
    params
  })
}
